package com.jdls.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

/**
 * @author 嘉德罗斯
 * @date 2021/9/16
 */
//配置类
@Configuration
//Spring扫描service
@ComponentScan("com.jdls.service")
//整合mybatis配置类
@Import({JdbcConfig.class,MybatisConfig.class})
//扫描配置文件
@PropertySource("classpath:jdbc.properties")
public class SpringConfig {
}
